package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * @Author: QingYingYan
 * @Date: 2025-10-20 22:24
 * @Description:
 */
public interface SetMealDishMapper {
    List<Long> getSetmealIdsByDishIds(List<Long> ids);

    void addMealDish(List<SetmealDish> setmealDishes);

    @Delete("delete from setmeal_dish where setmeal_id = #{setmealId}")
    void deleteBySetmealId(Long setmealId);


}
